package com.hotelsystem.service;

import com.hotelsystem.pojo.Logging;
import com.hotelsystem.pojo.vo.LoggingQueryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface LoggingService {

    /**
     * 获得所有的日志信息
     * @param loggingQueryVo
     * @return
     */
    List<Logging> getAllLoggingLists(@Param("loggingQueryVo") LoggingQueryVo loggingQueryVo) throws Exception;

    /**
     * 删除日志信息
     * @param loggingId
     * @return
     */
    Integer deleteLoggingInfo(Integer loggingId) throws Exception;

    /**
     * 添加日志
     * @param logging
     * @return
     * @throws Exception
     */
    Integer insert(Logging logging) throws Exception;
}
